public class LeetCode_371 {
    public int getSum(int a, int b){
        while (b != 0){
            int tmp = a ^ b;
            b = (a & b) << 1;
            a = tmp;
        }
        return a;
    }
}
